<template>
  <div class="iconTop">
    <h1>{{ msg }}</h1>
    <button @click="count++">count is: {{ count }}</button>
    <p>Edit <code>https://gitee.com/jimmyxuexue/jimmy-ui</code></p>
    <button @click="$router.push('/cycleRate')">JCycle</button>
    <button @click="$router.push('/switch')">JSwitch</button>
  </div>
</template>

<script>
export default {
  name: "HelloWorld",
  props: {
    msg: String,
  },
  data() {
    return {
      count: 0,
    };
  },
};
</script>

<style lang="less" scoped>
.iconTop {
  margin-bottom: 20px;
}
</style>
